package cn.gcyl.module.biz.controller.admin.memberorder.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.gcyl.framework.common.pojo.PageParam;
import org.apache.tika.config.Field;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.gcyl.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 会员订单管理分页 Request VO")
@Data
public class MemberOrderPageReqVO extends PageParam {

    @Schema(description = "会员名称", example = "芋艿")
    private String membershipName;

    @Schema(description = "支付金额")
    private Long[] paymentAmount;

    @Schema(description = "数量")
    private Long number;

    @Schema(description = "有效期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] effectiveTime;

    @Schema(description = "用户id", example = "22843")
    private Long userId;

    @Schema(description = "用户昵称", example = "芋艿")
    private String nickname;

    @Schema(description = "用户手机号")
    private String mobile;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}